package cn.epsilon3.domain.e3.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class ThirdAuthLoginDTO implements Serializable {

    private static final long serialVersionUID = -63345685745614654L;

    /**
     * 回调code  换取用户信息
     */
    @NotBlank(message = "auth_code不能为空")
    private String authCode;

    /**
     * 渠道
     * github  20205243166
     * alipay  110751295
     */
    @NotBlank(message = "三方渠道不能为空")
    private String channel;
}
